package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 募捐项目对象 donationproject
 * 
 * @author ruoyi
 * @date 2024-07-08
 */
public class Donationproject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 募捐编号 */
    @Excel(name = "募捐编号")
    private Long dpId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String dpName;

    /** 项目描述 */
    @Excel(name = "项目描述")
    private String dpDescription;

    /** 筹款期限 */
    @Excel(name = "筹款期限")
    private String dpPeriod;

    /** 募捐等级 */
    @Excel(name = "募捐等级")
    private String dpGrade;

    /** 募捐金额 */
    @Excel(name = "募捐金额")
    private Long dpAmount;

    public void setDpId(Long dpId) 
    {
        this.dpId = dpId;
    }

    public Long getDpId() 
    {
        return dpId;
    }
    public void setDpName(String dpName) 
    {
        this.dpName = dpName;
    }

    public String getDpName() 
    {
        return dpName;
    }
    public void setDpDescription(String dpDescription) 
    {
        this.dpDescription = dpDescription;
    }

    public String getDpDescription() 
    {
        return dpDescription;
    }
    public void setDpPeriod(String dpPeriod) 
    {
        this.dpPeriod = dpPeriod;
    }

    public String getDpPeriod() 
    {
        return dpPeriod;
    }
    public void setDpGrade(String dpGrade) 
    {
        this.dpGrade = dpGrade;
    }

    public String getDpGrade() 
    {
        return dpGrade;
    }
    public void setDpAmount(Long dpAmount) 
    {
        this.dpAmount = dpAmount;
    }

    public Long getDpAmount() 
    {
        return dpAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dpId", getDpId())
            .append("dpName", getDpName())
            .append("dpDescription", getDpDescription())
            .append("dpPeriod", getDpPeriod())
            .append("dpGrade", getDpGrade())
            .append("dpAmount", getDpAmount())
            .toString();
    }
}
